package com.winit.openapi.chinapost.model;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class BagsElement {
	/** 物流公司编号  */
	private String  logisticProviderID;
	/** 总包号码  */
	private String  bagNos;
	/** 发生时间  */
	private String  time;
	/** 出口机构编号  */
	private String  facilityNo;
	/** 出口机构名称  */
	private String  facilityName;
	/** 寄达国家  */
	private String  country;
	/** 邮件号集合  */
	private List<MailsElement> mailsElement;
	
	public String getLogisticProviderID() {
		return logisticProviderID;
	}
	public void setLogisticProviderID(String logisticProviderID) {
		this.logisticProviderID = logisticProviderID;
	}
	public String getBagNos() {
		return bagNos;
	}
	public void setBagNos(String bagNos) {
		this.bagNos = bagNos;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getFacilityNo() {
		return facilityNo;
	}
	public void setFacilityNo(String facilityNo) {
		this.facilityNo = facilityNo;
	}
	public String getFacilityName() {
		return facilityName;
	}
	public void setFacilityName(String facilityName) {
		this.facilityName = facilityName;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	@XmlElementWrapper(name="mailsList")
	@XmlElement
	public List<MailsElement> getMailsElement() {
		return mailsElement;
	}
	public void setMailsElement(List<MailsElement> mailsElement) {
		this.mailsElement = mailsElement;
	} 
}
